From: Florian Müllner Date: Fri, 12 Jun 2020 22:08:50 +0000 (+0200) Subject: appDisplay: Disable built-in mouse scrolling X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~616^2^2~640 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=543261e6eb64191abc5079b6a5bf6e757cdf9b22;p=gnome-shell.git appDisplay: Disable built-in mouse scrolling We want to either handle a scroll event ourselves, or delegate it to the swipe tracker. What we never want is StScrollView's default handler that doesn't have any knowledge of pages, so disable it. Part-of: --- diff --git a/js/ui/appDisplay.js b/js/ui/appDisplay.js index 58d179802..4cfc13a7d 100644 --- a/js/ui/appDisplay.js +++ b/js/ui/appDisplay.js @@ -151,6 +151,7 @@ var BaseAppView = GObject.registerClass({ x_expand: true, y_expand: true, reactive: true, + enable_mouse_scrolling: false, }); this._scrollView.set_policy(St.PolicyType.EXTERNAL, St.PolicyType.NEVER);